<?php
/**
 * Persistence Factory
 * @author Rodrigo A. Rio <rodrigorio@netpowermdp.com.ar>
 * @package Persistence
 */
class PersistenceFactory
{       
    /**
     * @param mixed $conn
     * @return GroupIntermediary
     */
    public static function getUsuarioIntermediary(IMYSQL  $conn) {
        if( ($conn instanceof MySQL) || ($conn instanceof IMySQL)){
            return (UsuarioMySQLIntermediary::getInstance($conn));
        }
    }
}